import { ActionScheme, ActionState, OperationType, UserInfoDto, WorkFlowProcessMsgDto } from "@shared/service-proxies/service-proxies";
import * as exp from "constants";

export interface IFlowDetailParam {
    paperId:string;
}


export interface ITranslateItem{
    id:string,
    lv:number,
    userName?:string,
    reply?: string,
    state:ActionState,
    replyTime?:string,
    markedTime?:string,
    startTime?:string,
    finishedTime?:string,
    trunkId?:string,
    scheme: ActionScheme,
    preOperatorId?: string,
    preStepId?:string,
    nodeId:string,
    userInfo: UserInfoDto,
    operationType:OperationType,
    additonalMsgArr: WorkFlowProcessMsgDto[],
    hasRead: boolean
}


export interface IRemarkDataItem{
    nodeName:string,
    isOpen:boolean,
    data:ITranslateItem[]
}


export interface IActionNames{
    name:string,
    isShow:boolean
}



export interface IBackWorkFlowListData{
    command?:string,
    isReload:boolean
}


export interface ISelectionUnitBackData{
    ids:string,
    names:string
}

export interface ISelectionUserBackData{
    ids:string,
    names:string
}
